home *** CD-ROM | disk | FTP | other *** search
/ Champak 112 / jogo-disk-112.iso / Games / ophelias_diary_2_episode_1.swf / scripts / DefineButton2_2103 / BUTTONCONDACTION on(release).as
Text File  |  2010-07-14  |  496b  |  21 lines

  1. on(release){
  2.    set("/Variables:Clues",1);
  3.    if(eval("../Movie/Machine/Manette:Manette") == 0 and eval("/Variables:Animatique") == 0 and getProperty("../Movie/Machine", _visible) == 1)
  4.    {
  5.       setProperty("../Movie/Prescott", _X, -5);
  6.       setProperty("../Movie/Prescott", _Y, 20);
  7.       tellTarget("../")
  8.       {
  9.          gotoAndStop("Plan1");
  10.       }
  11.    }
  12.    else
  13.    {
  14.       tellTarget("../")
  15.       {
  16.          gotoAndStop("Plan1");
  17.       }
  18.       gotoAndStop(1);
  19.    }
  20. }
  21.